package biz;

import java.awt.image.BufferedImage;
import java.util.List;

import pojo.Missions;
import pojo.Projects;
import pojo.Teams;
import pojo.UserRoleProject;

/** 
* @author WuYuan
* 
*/


public interface MissionBiz {
	public List<Missions> findMissionsByUrpid(String projectid,String userid, String roleId);
	public int updateCompleteMission(String missionid);
	public List<Projects> findProjectsByUrpid(String teamid, String userid);
	public BufferedImage findMissionRelationByUrpid(String projectId, String roleId);
	public List<Teams> findTeamsByUrpid(String userid);
	public UserRoleProject findRoleidByUrpid(String projectid, String userid);
	public double findMemberScore(String teamid, String userid);
}
